package com.swg.init;

import com.swg.BlogApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @Author 【swg】.
 * @Date 2018/1/26 21:07
 * @DESC
 * @CONTACT 317758022@qq.com
 */
public class ServletInitializer extends SpringBootServletInitializer{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(BlogApplication.class);
    }
}
